package com.xr.sunnyday.service;

import com.xr.sunnyday.entity.PageResult;
import com.xr.sunnyday.entity.QueryPageBean;
import com.xr.sunnyday.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetMealService {
    PageResult findByCondition(QueryPageBean queryPageBean);

    void add(Setmeal setmeal, Integer[] checkgroupIds);

    Setmeal findBySetMealId(int setMealId);

    List<Integer> findSetMealCheckGroup(int setMealId);

    void update(Setmeal setmeal, Integer[] checkgroupIds);

    void delete(int id);

    List<String> findImgs();

    List<Setmeal> findAll();

    Setmeal findDetailById(int id);

    List<Map<String, Object>> findSetmealCount();
}
